package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 宠物成长奖励表

type DancePetGrowth struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	GrowthValue   int64          `json:"growth_value"  gorm:"column:growth_value;type:bigint;not null;comment:成长值"`
	Rewards       string         `json:"rewards" gorm:"column:rewards;type:varchar(256);not null;default:'';comment:发放道具nos"`    //发放道具nos
	EffectiveDays int64          `json:"effectiveDays" gorm:"column:effective_days;type:bigint;default:0;not null;comment:有效天数"` // 有效天数
	Remark        string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`           //备注
	Months        string         `json:"months" gorm:"column:months;type:varchar(256);not null;default:'';comment:发放月份"`         // 发放月份
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
